package com.xinqi.modules.chat.chat.group.dto.req;

import com.xinqi.common.green.annotation.Text;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 群组成员表-请求对象
 *
 * @author: system
 * @date: 2023/01/12
 */
@Data
public class ChatGroupUserUpdateDTO implements Serializable {
    /**
     * 融云返回群聊ID
     */
    @NotEmpty(message = "{chat.chat.groupId.not.blank}")
    private String groupId;
    /**
     * 群组备注名称
     */
    @Text
    @Size(min = 0, max = 15, message = "{chat.group.groupRename.length.valid}")
    private String groupRename;
    /**
     * 我在群中昵称
     */
    @Text
    @Size(min = 0, max = 15, message = "{chat.group.renames.length.valid}")
    private String renames;
    /**
     * 设置群聊天背景
     */
    private String background;
    /**
     * 设置群置顶
     */
    private Integer isTop;
    /**
     * 设置隐藏回话(有新消息自动打开)
     */
    private Integer hiddenChat;
    /**
     * 设置显示群成员昵称
     */
    private Integer showMemberName;
    /**
     * 设置免打扰
     */
    private Integer isDisturb;
    /**
     * 关注的人员
     */
    private String follow;

}
